On Equality of Objects in Categories in Constructive Type Theory

نویسنده

  • ERIK PALMGREN
چکیده

In this note we remark on the problem of equality of objects in categories formalized in Martin-Löf’s constructive type theory. A standard notion of category in this system is E-category, where no such equality is specified. The main observation here is that there is no general extension of E-categories to categories with equality on objects, unless the principle Uniqueness of Identity Proofs (UIP) holds. We also introduce the notion of an H-category, a variant of category with equality on objects, which makes it easy to compare to the notion of univalent category proposed for Univalent Type Theory by Ahrens, Kapulkin and Shulman. In this note we remark on the problem of equality of objects in categories formalized in Martin-Löf’s constructive type theory. A standard notion of category in this system is E-category, where no such equality is specified. The main observation here is that there is no general extension of E-categories to categories with equality on objects, unless the principle Uniqueness of Identity Proofs (UIP) holds. In fact, for every type A, there is an E-groupoid A which cannot be so extended. We also introduce the notion of an H-category, a variant of category, which makes it easy to compare to the notion of "univalent" category proposed in Univalent Type Theory [9]. When formalizing mathematical structures in constructive type theory it is common to interpret the notion of set as a type together with an equivalence relation, and the notion of function between sets as a function or operation that preserves the equivalence relations. Such functions are called extensional functions. This way of interpreting sets was adopted in Bishop’s seminal book [3] on constructive analysis from 1967. In type theory literature such sets are called setoids. Formally a setoid X = (|X|,=X) consists of a type |X| together with a binary relation =X , and a proof object for =X being an equivalence relation. An extensional function between setoids f : X // Y consists of a type-theoretic function |f | : |X| // |Y |, and a proof that f respects the equivalence relations, i.e. |f |(x) =Y |f |(u) whenever x =X u. One writes x : X for x : |X|, and f(x) for |f |(x) to simplify notation. Every type A comes with a minimal equivalence relation IA(·, ·), the so-called identity type for A. When the type can be inferred we write a . = b for IA(a, b). The principle of Uniqueness of Identity Proofs (UIP) for a type A states that (UIPA) (∀a, b : A)(∀p, q : a . = b)p . = q. This principle is not assumed in basic type theory, but can be proved for types A where IA(·, ·) is a decidable relation (Hedberg’s Theorem [9]). Date: August 5, 2017. 1

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Constructions of categories of setoids from proof-irrelevant families

When formalizing mathematics in constructive type theories, or more practically in proof assistants such as Coq or Agda, one is often using setoids (types with explicit equivalence relations). In this note we consider two categories of setoids with equality on objects and show, within intensional Martin-Löf type theory, that they are isomorphic. Both categories are constructed from a fixed proo...

متن کامل

Displayed Categories

We introduce and develop the notion of displayed categories. A displayed category over a category C is equivalent to ‘a category D and functor F : D → C’, but instead of having a single collection of ‘objects of D’ with a map to the objects of C, the objects are given as a family indexed by objects of C, and similarly for the morphisms. This encapsulates a common way of building categories in p...

متن کامل

Common Nouns as Types

When modern type theories are employed for formal semantics, common nouns (CNs) are interpreted as types, not as predicates. Although this brings about some technical advantages, it is worthwhile to ask: what is special about CNs that merits them to be interpreted as types? We discuss the observation made by Geach that, unlike other lexical categories, CNs have criteria of identity, a component...

متن کامل

2-Dimensional Directed Dependent Type Theory

The groupoid interpretation of dependent type theory given by Hofmann and Streicher associates to each closed type a category whose objects represent the elements of that type and whose maps represent proofs of equality of elements. The categorial structure ensures that equality is reflexive (identity maps) and transitive (closure under composition); the groupoid structure, which demands that e...

متن کامل

Factors Increasing Couple’s Intimacy: A Qualitative Analysis

Aim: Intimacy is a basic human need and one of the principals of marital life. This study aimed to investigate the factors enhancing couple’s intimacy. This research was conducted qualitatively, based on grounded theory. Methods: The population included all married individuals from Shiraz who were married for at least one year. Ten of them were interviewed using semi-structured questions until ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2017